package com.beemans.admob.ads;

import androidx.annotation.NonNull;

public class AbNativeAdvertConfig {
    private final String placementId;   // 广告位 id
    private boolean isShowAfterLoaded;  // 广告加载完毕后直接展示
    private boolean isPreloadAdvert;    // 是否自动预加载广告（触发时机：广告 show）

    public AbNativeAdvertConfig(@NonNull String placementId) {
        this.placementId = placementId;
    }

    public String getPlacementId() {
        return placementId;
    }

    public boolean isShowAfterLoaded() {
        return isShowAfterLoaded;
    }

    public void setShowAfterLoaded(boolean showAfterLoaded) {
        isShowAfterLoaded = showAfterLoaded;
    }

    public boolean isPreloadAdvert() {
        return isPreloadAdvert;
    }

    public void setPreloadAdvert(boolean preloadAdvert) {
        isPreloadAdvert = preloadAdvert;
    }
}